package com.sunyard.utils;

/**
 * @author tianch.liu
 * @created 2016-12-8 上午10:22:16
 */
public class VerifyCodeUtil {
    /**
     * 获取短信验证码
     *
     * @param @return
     * @return String
     * @throws
     * @Title getVerifyCode
     * @Description
     */
    public static String getVerifyCode() {
        String vcode = "";
        for (int i = 0; i < 6; i++) {
            vcode = vcode + (int) (Math.random() * 9);
        }
        return vcode;
    }
}
